<div class="form">
<?php $form = $this->beginWidget('CActiveForm', array(
	'id'=>'menu-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
))
?>
<div class="row">
	<?php echo $form->labelEx($model,'menu_name'); ?>
	<?php echo $form->textField($model,'menu_name'); ?>
	<?php echo $form->error($model,'menu_name'); ?>
</div>
<div class="row">
	<?php echo $form->labelEx($model,'title'); ?>
	<?php echo $form->textField($model,'title'); ?>
	<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
	<?php echo $form->labelEx($model,'description'); ?>
	<?php echo $form->textArea($model,'description',array('cols'=>100, 'rows'=>5)); ?>
	<?php echo $form->error($model,'description'); ?>
</div>

<div class="row buttons">
	<?php echo CHtml::submitButton('Create'); ?>
</div>

<?php $this->endWidget();?>

</div>